
// 使用vueRouter
import Vue from 'vue'
import App from './App.vue'
import vueRouter from 'vue-router'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import axios from 'axios'
import Editor from '@/components/editor'
// 全局组件挂载
Vue.component('editorUse', Editor)
Vue.prototype.axios = axios;
Vue.use(ElementUI);
// 使用vueRouter
Vue.use(vueRouter)
Vue.config.productionTip = false
new Vue({
  render: h => h(App),
  router,
}).$mount('#app')
